

<?php if( $this->emptyResult ) { ?>
<h2><?php echo $this->translate( 'services' ) ?></h2>
	<div class="content">
		<?php echo "Brak arykułów"; ?>
	</div>
<?php }else {?> 
<?php $i = 0; foreach( $this->list as $value ) { ?>
<div class="box">
	<div class="column">
	
		<?php 
		
		    if(is_object($value['Galeries']['Photos']))
		    {
		        $ob = $value['Galeries']['Photos']->toArray();
		    } else {
		        $ob = array();
		    }
		
		?>
	
		<div class="colimg" style="background-image: url(<?php echo $this->File($ob, 195 ) ?>)"></div>
		<div class="coltext">
			<div class="prod">
				<div class="name"><?php echo $value['title_' . $this->locale] ?></div>
				<div class="text">
				<?php echo $value['lead_' . $this->locale] ?> 
				</div>
				<div class="avail">
					<a href="{baseUrl}/services/article/id/<?php echo $value['news_id'] ?>/<?php echo $this->Seo( $value['title_' . $this->locale] ) ?>" class="button"><?php echo $this->translate( 'news_more' ) ?></a>
				</div>
			</div> 
		</div>
	<div class="clr"></div>
	</div>
	<div class="end"></div>
</div>

	<?php $i++; } ?>
	
	<?php  echo $this->render('global/pager_service.phtml'); ?>

		
		
<?php } ?>